package com.btpj.hospital_server.mapper;

import com.btpj.hospital_server.entity.VisitPlan;

import java.util.Date;
import java.util.List;

public interface VisitPlanMapper {
    int deleteByPrimaryKey(Long id);

    int insert(VisitPlan record);

    int insertSelective(VisitPlan record);

    VisitPlan selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(VisitPlan record);

    int updateByPrimaryKey(VisitPlan record);

    List<VisitPlan> selectList(Long hospitalId, Long specialId, Long outpatientId, Long doctorId, Date day);

    int deleteByPrimaryKeys(List<Long> ids);

    List<VisitPlan> selectByDoctorIdAndDay(Long doctorId, Date startDate, Date endDate);
}